package com.kocel.block.service;

import com.kocel.block.model.TbBlockInventory;
import com.kocel.block.model.TbBlockRecord;
import com.kocel.block.model.TbUser;
import com.kocel.block.model.smelt_pouring_history;
import com.kocel.block.repository.TbBlockInventoryRepository;
import com.kocel.block.repository.TbBlockRecordRepository;
import com.kocel.block.repository.TbUserRepository;

import java.util.List;

public interface BlockService {
    TbBlockInventoryRepository getTbBlockInventoryRepository();

    TbUserRepository getTbUserRepository();

    TbBlockRecordRepository getTbBlockRecordRepository();

    List<smelt_pouring_history> findAllByView(String meltingStove,String meltingWrap,String texture);

    List<smelt_pouring_history> findAllByMeltingWrap(String meltingWrap);

    List<smelt_pouring_history> findAllByMeltingStove(String meltingStove);

    TbUser getUser(String username,String password);

    List<TbBlockInventory> getInventoryList(String productName,String blockNumber, String meltingStove);

    boolean isExistedBlockNo(String blockNo);

    List<TbBlockInventory> getTbBlockInventoryListForOut(String blockNumber);

    List<TbBlockInventory> getTbBlockInventoryListForDestroy(String blockNumber);

    List<TbBlockRecord> getTbBlockRecordList(String blockNumber);

    List<TbBlockRecord> getTbBlockRecordOutList(String blockNumber);

    List<TbBlockRecord> getTbBlockRecordOutReturnList(String blockNumber);

    List<TbBlockRecord> getTbBlockRecordCheckList(String blockNumber);

    List<TbBlockRecord> getTbBlockRecordMatchingList(String blockNumber);
}
